/*
 * Copyright (C) 2009 GeoNetwork
 *
 * This file is part of GeoNetwork
 *
 * GeoNetwork is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * GeoNetwork is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with GeoNetwork.  If not, see <http://www.gnu.org/licenses/>.
 */
Ext.namespace('GeoNetwork', 'GeoNetwork.lang');

GeoNetwork.lang.en = {
    'connectIssue': "Catalogue connection issue",
    'connectIssueMsg': "Error 404. Can't connect to catalogue at url ",
    'featureInfoTooltipTitle': "Feature info",
    'featureInfoTooltipText': "Click in the map to get feature info from all visible layers.",
    'zoomToMaxExtentTooltipTitle': "Full extent",
    'zoomToMaxExtentTooltipText': "Use this button to go to the full extent of the map.",
    'zoominTooltipTitle': "Zoom in",
    'zoominTooltipText': "Draw a box in the map to zoom in. You can also click in the map and map will zoom in by a factor of 2.",
    'zoomoutTooltipTitle': "Zoom out",
    'zoomoutTooltipText': "Click in the map or draw a box to zoom out.",
    'dragTooltipTitle': "Pan map",
    'dragTooltipText': "Press the left mouse button to drag the map.",
    'previousTooltipTitle': "Previous map extent",
    'previosTooltipText': "Click this button to go back to the previous map extent",
    'nextTooltipTitle': "Next map extent",
    'nextTooltipText': "Click this button to go to the next map extent",
    'featureInfoTitle': "Feature info",
    'layerManagerTabTitle': "Layer management",
    'legendTabTitle': "Legend",
    'scaleTitle': "Scale",
    'xTitle': "X",
    'yTitle': "Y",
    'projectionTitle': "Projection",
    'FeatureInfoNotQueryable': "There is no queryable map layer",
    'WMSBrowserTab1': "Select",
    'WMSBrowserTab3': "External",
    'WMSBrowserPreviewTitle': "Preview layer",
    'WMSBrowserAddButton': "Add",
    'WMSBrowserDuplicateMsg': "Layer is already in the map",
    'WMSBrowserPreviewWaitMsg': "Retrieving preview image",
    'WMSBrowserConnectButton': "Connect",
    'WMSBrowserConnectError': "There was an error connecting to the Web Map Service, please check the URL.",
    'infoTitle': "Information",
    'mf.print.mapTitle': "Title",
    'mf.print.comment': "Comment",
    'mf.print.dpi': "Resolution",
    'mf.print.scale': "Scale",
    'mf.print.rotation': "Angle",
    'mf.print.resetPos': "Reset",
    'mf.print.print': "Print",
    'mf.print.generatingPDF': "Generating PDF",
    'mf.print.unableToPrint': "It was not possible to print, try later",
    'mf.error': "Error",
    'selectExtentTooltipTitle': "Select extent",
    'selectExtentTooltipText': "Select extent for catalog searches",
    'clearExtentTooltipTitle': "Remove extent",
    'clearExtentTooltipText': "Remove extent (ie. no spatial criteria)",
    'printTooltipTitle': "Print",
    'printTooltipText': "Print the current map",
    'savewmcTooltipTitle': "Save web map context",
    'savewmcTooltipText': "Saves web map context for current map",
    'saveWMCFile.windowTitle': "Save Web Map Context",
    'saveWMCFile.errorSaveWMC': "Could not save Web Map Context",
    'loadwmcTooltipTitle': "Load web map context",
    'loadwmcTooltipText': "Loads web map context in current map",
    'selectWMCFile.windowTitle': "Load Web Map Context",
    'selectWMCFile': "Select Web Map Context file",
    'selectWMCFile.waitLoadingWMC': "Loading Web Map Context",
    'selectWMCFile.loadButtonText': "Load",
    'selectWMCFile.mergeButtonText': "Merge",
    'selectWMCFile.errorLoadingWMC': "Could not load Web Map Context",
    'opacityButtonText': "Opacity",
    'opacityWindowTitle': "Opacity",
    'metadataButtonText': "Metadata",
    'removeButtonText': "Remove",
    'addWMSButtonText': "Add WMS",
    'addWMSWindowTitle': "Add layer from a WMS service",
    'layerInfoPanel.windowTitle': "Layer metadata",
    'layerInfoPanel.titleField': "Title",
    'layerInfoPanel.descriptionField': "Description",
    'layerInfoPanel.queryableField': "Queryable",
    'layerList': "Layer list",
    'baseLayerList': "Base layers",
    'metadataResults.buttonText': "Metadata results",
    'metadataResults.tooltipTitle': "Metadata results",
    'metadataResults.tooltipText': "Go to metadata results page",
    'metadataResults.alertTitle': "Metadata results",
    'metadataResults.alertText': "No metadata results to show",
    'featureInfoWindow.windowTitle': "Feature info",
    'mf.information': 'Print',
    'mf.print.pdfReady': 'PDF ready',
    'loadLayer.loadingMessage': "Loading layer",
    'loadLayer.error.title': "Load layer",
    'loadLayer.error.message': "The layer could not be loaded",
    'disclaimer.windowTitle': "Disclaimer",
    'disclaimer.loading': "Loading...",
    'disclaimer.buttonClose': "Close",
    'gazetteerAddressField1Label': "Postcode",
    'gazetteerAddressField2Label': "Street",
    'gazetteerAddressField3Label': "Place",
    'gazetteerAddressField4Label': "'Gemeente'",
    'gazetteerAddressField5Label': "House number",
    'searchOptionButton': "Search",
    'resetSearchForm': "Reset search form values.",
    'GazetteerWindowTitle': "Search for address",
    'searchResults': "Search results",
    'errorTitle': "Error",
    'SearchOptionLoadFailureMsg': "No results available. \n The service may be unavailable. \n",
    'gazetteerTooltipTitle': "Search based on an address",
    'gazetteerTooltipText': "Search for a location, based on postcode, street name, 'gemeente' or place.",
    'SearchOptionNoResults': "No results found",
    'zoomlayerTooltipTitle': "Zoom to layer",
    'zoomlayerTooltipText': "Use this button to go to the full extent of the selected layer.",
    'zoomlayer.selectLayerTitle': "Zoom to layer",
    'zoomlayer.selectLayerText': "No layer selected",
    'layerStylesWindowTitle': "Layer styles",
    'layerStylesPreviewTitle': "Preview legend",
    'selectStyleButton': "Select style",
    'WMSTimeWindowTitle': "WMS Time",
    'WMSTimePositionTitle': "Pick a time position",
    'WMSTimeMovieTitle': "Play animation",
    'wmsTimeUpdateButtonText': "Apply",
    'WMSTimeAnimationCheckbox': "Play a movie loop spanning the last ${steps} time positions",
    'fullTextSearch': "Full text search",
    'keyword': "Keyword",
    'org': "Organisation",
    'mapTypes': "Map types",
    'inspireSearchOptions': 'INSPIRE criteria',
    'inspireannex': 'INSPIRE annex',
    'inspirerelated': 'Related to INSPIRE',
    'inspirerelatedtt': 'INSPIRE dataset with report on the conformity regarding the data specification',
    'inspiretheme': 'INSPIRE theme',
    'similarity': 'Search accuracy',
    'wkt': 'WKT geometry',
    'simpleViewMode': 'Simple view',
    'spatialSearch': 'Spatial criteria',
    'mdChangeDate': 'Metadata change date',
    'tempExtent': 'Temporal extent',
    'hitsPerPage': 'Hits per page',
    'sortBy': 'Sort by',
    'relevance': 'Relevance',
    'title': 'Title',
    'changeDate': 'Change date',
    'rating': 'Rating',
    'popularity': 'Popularity',
    'scaleDesc': 'Scale (desc)',
    'scaleAsc': 'Scale (asc)',
    'abstract': 'Abstract',
    'catalogue': 'Catalogue',
    'group': 'Group',
    'chooseGroup': 'Select a group',
    'md': 'Metadata',
    'tpl': 'Template',
    'category': 'Category',
    'advTextSearch': 'Advanced text search options',
    'eitherWords': 'Either of the words',
    'exactPhrase': 'Exact phrase',
    'allWords': 'All of the words',
    'withoutWords': 'Without the words',
    'precise': 'Precise',
    'imprecise': 'Imprecise',
    'relationType': 'Relation type',
    'within': 'within',
    'touches': 'touches',
    'crosses': 'crosses',
    'fullyOutsideOf': 'fullyOutsideOf',
    'encloses': 'encloses',
    'overlaps': 'overlaps',
    'intersection': 'intersection',
    'nearYou': 'Near you',
    'from': 'From',
    'to': 'To',
    'scaleNominator': '1:',
    'scale': 'Scale',
    'digital': 'Digital',
    'hardCopy': 'Hard copy',
    'download': 'Download',
    'downloadable': 'Download',
    'interactive': 'Interactive',
    'resourceType': 'Resource type',
    'dataset': 'Dataset',
    'series': 'Series',
    'service': 'Service',
    'spatialRepType': 'Spatial representation',
    'video': 'Video',
    'vector': 'Vector',
    'textTable': 'Text, table',
    'tin': 'Tin',
    'stereoModel': 'Stereo model',
    'grid': 'Grid',
    'kind': 'Kind',
    'enterGetCapURL': 'Enter a GetCapabilities URL to register a new service.',
    'edit': 'Edit',
    'duplicate': 'Duplicate',
    'delete': 'Delete',
    'createChild': 'Create child',
    'privileges': 'Privileges',
    'categories': 'Categories',
    'otherActions': 'Other actions',
    'view': 'View',
    'zoomTo': 'Zoom to',
    'saveXml': 'Save as XML',
    'exportCsv': 'Export (CSV)',
    'exportZip': 'Export (ZIP)',
    'printSel': 'Print',
    'newOwner': 'New owner',
    'updateCategories': 'Update categories',
    'updatePrivileges': 'Update privileges',
    'noneSelected': 'None selected',
    'none': 'none',
    'all': 'all',
    'allInPage': 'all in page',
    'select': 'Select ',
    'username': 'User name',
    'password': 'password',
    'login': 'Login',
    'logout': 'Logout',
    'administration': 'Administration',
    'validationReport': 'Validation report',
    'status': 'Status',
    'items': 'items',
    'item': 'item',
    'thumbnails': 'Thumbnails',
    'noimages': 'No images to display',
    'add': 'Add',
    'small': 'Small',
    'large': 'Large',
    'selectImage': 'Select an image',
    'selectFile': 'Select a file',
    'image': 'Image',
    'uploading': 'Uploading ...',
    'upload': 'Upload',
    'success': 'Success',
    'failure': 'Failure',
    'error': 'Error',
    'save': 'Save',
    'reset': 'Reset',
    'fileProcessedMsg': 'Processed file ${res} on the server',
    'suggestion': 'Suggestion',
    'logoSelect': 'Select a logo',
    'relatedResources': 'Related resources',
    'createLink': 'Create links ...',
    'featureCat': 'Feature catalogue',
    'serviceMd': 'Service metadata',
    'datasetMd': 'Dataset metadata',
    'parentMd': 'Parent metadata',
    'updateChildren': 'Update children',
    'records': 'records',
    'record': 'record',
    'help': 'Help',
    'publishError': 'Publication failed.',
    'outOfMemoryError': 'Out of memory error.',
    'publishErrorCode': 'Error code:',
    'saveAndCheck': 'Save and check',
    'saveAndClose': 'Save and close',
    'cancel': 'Cancel',
    'layout': 'Layout',
    'collapseAll': 'Collapse all',
    'chooseAType': 'Choose a type',
    'chooseAView': 'Choose a view',
    'viewMode': 'View mode',
    'errorAndStatusMsg': 'Error. Status: ${status}, text: ${text}. Try again.',
    'mdEditor': 'Metadata editor',
    'editing': 'Editing ${title} (${uuid})',
    'GetCapabilitiesDocumentError': "Error loading service GetCapabilities document from URL: ",
    'maxResults': "Number of results",
    'mdTitle': "Metadata title",
    'keywords': "Keywords",
    'createRelation': "Create relation",
    'createIfNotExistButton': "Create a new metadata record",
    'getCapabilitiesLayer': "GetCapabilities layer",
    'layerName': "Layer name",
    'searching': "Searching ...",
    'perThesaurus': " per thesaurus",
    'anyThesaurus': "Any thesaurus",
    'selectedKeywords': "Selected keywords",
    'foundKeywords': "Available keywords",
    'clear': "Clear",
    'publish': "Publish",
    'publishTooltip': "Publish current dataset to remote node. If dataset is already publish in that node, it will be updated.",
    'publishSuccess': "Successful publication.",
    'publishLayerAdded': " Layer added to map preview.",
    'unpublish': "Unpublish",
    'unpublishTooltip': "Remove current dataset from remote node.",
    'unpublishSuccess': "Successful unpublication.",
    'unpublishError': "Unpublication failed. ",
    'check': "Check",
    'errorDatasetNotFound': "Dataset not found.",
    'datasetFound': "Dataset found and added to the map preview.",
    'checkFailure': "Failed to check dataset in remote node.",
    'addOnlineSourceTitle': "Link service to metadata",
    'addOnlineSource': 'Add links',
    'addOnlineSourceTT': 'Add an onlinesource section to the current metadata record pointing to the WMS/WFS/WCS services. If the service is a WMS, the layer could be displayed in the map viewer.',
    'statusInformation': "Status information.",
    'publishing': "Publishing ...",
    'mapPreview': "Map preview",
    'selectANode': "Select a node ...",
    'geoPublisherWindowTitle': "Geo-publication: ",
    'keywordSelectionWindowTitle': "Keywords selection",
    'crsSelectionWindowTitle': "Coordinate reference system selection",
    'linkedMetadataSelectionWindowTitle': "Related metadata selection",
    'NotOwnerError': "You don't have privileges to update this related record.",
    'ServiceUpdateError': "Error during service metadata update",
    'associateService': "Link service metadata",
    'associateDataset': "Link dataset metadata",
    'logoSelectionWindow': "Choose a logo",
    'fileUploadWindow': 'Upload data or document',
    'selectedCRS': "Selected coordinate systems",
    'foundCRS': "Available coordinate systems",
    'search': 'Search',
    'restrictSearchToMap': 'Restrict search to map extent',
    'selected': 'selected',
    'selectRegion': 'Select a region ...',
    'drawRectangle': "Draw rectangle",
    'drawPolygon': "Draw polygon",
    'drawCircle': 'Draw circle',
    'discovery': 'Discovery',
    'visualization': 'Visualization',
    'when': 'When ?',
    'anyTime': 'Anytime',
    'onSelection': 'On selection',
    'adminAction': 'Other',
    'newMetadata': 'New metadata',
    'chooseTemplate': 'Select a template',
    'process': 'Process',
    'suggestions': 'Suggestions',
    'applySelected': 'Apply selected task',
    'processParametersWindow': 'Task parameters',
    'noSuggestion': 'No suggestion.',
    'thumbnailUploadWindow': 'Upload thumbnail',
    'addThumbnail': 'Add',
    'createSmall': 'Create small thumbnail',
    'scalingFactor': 'Scaling factor',
    'smallScalingFactor': 'Small scaling factor',
    'type': 'Record type',
    'clickToClose': 'Click to close',
    'removeSelected': 'Remove selected',
    'ownerName': 'Metadata record owner',
    'setPrivileges': 'Set privileges',
    'setCategories': 'Set categories',
    'massiveOp': 'Batch operation ',
    'prepareDownload': 'Download files',
    'mdMenu': 'Actions',
    'deleteRecord': 'Delete metadata record ?',
    'deleteConfirm': 'Are you sure to delete this metadata record?',
    'deleteRecordSuccess': 'Metadata deleted.', 
    'deleteRecordFailure': 'Error when deleting metadata record.',
    'advancedSearchOptions': 'Advanced criteria',
    'relatedservices': 'Related service',
    'relatedchildren': 'Children',
    'getMEF': 'Export (ZIP)',
    'metadataCategories': 'Metadata categories',
    'validityInfo': 'Validation status: ',
    'lastUpdate': 'Last update: ',
    'importMetadata': 'Import metadata',
    'validationStatus': 'Validation status',
    'valid': 'Valid',
    'notValid': 'Not valid',
    'notDetermined': 'Not determined',
    'addToMap': 'Add to map: ',
    'downloadLink': 'Download: ',
    'webLink': 'Web link: ',
    'viewKml': 'Open in GoogleEarth: ',
    'layerTree': 'Layer manager',
    'mdResultsLayer': 'Search results',
    'printLayer': 'Print page',
    'relatedservices': 'Related services',
    'relatedparent': 'Parent',
    'relateddatasets': 'Related datasets',
    'relatedchildren': 'Children',
    'relatedrelated': 'Feature catalogue/dataset link',
    'delete19110Relation': 'Remove feature catalogue relation',
    'newWindow': 'New window',
    'addAsXLink': 'Add as linked element',
    'contactSelectionWindowTitle': 'Contact selection',
    'selectedContacts': 'Selected contacts',
    'foundContacts': 'Available',
    'contactRole': 'Contact role',
    'mapNearYou': 'Center map on your location',
    'errorChangeProtocol': 'Remove uploaded file before changing protocol of an online resource.',
    'resultBy': ' result(s) / ',
    'subTemplateImport': 'Directory entry import',
    'xmlData': 'XML',
    'minorEdit': 'Minor edit',
    'minorEditTT': '',
    // Shortcuts
    'runASearch': 'Run a search.',
    'focusOnAny': 'Move focus to the full text search field.',
    'hideSearchForm': 'Hide or display search form.',
    'switchMode': 'Switch visualization mode.',
    'resetSearchForm': 'Reset search form.',
    'focusOnLogin': 'Focus on the login form to access catalogue administration.',
    'displayInfoPanel': 'Display the information panel.',
    'displayHelpPanel': 'Display this help.',
    
    'SelectionWindowTitle': 'Select from directory',
    'found': 'Records found',
    'selected': 'Selected',
    
    // Suggestion processing
    'add-extent-from-geokeywordsreplace': 'Replace existing extent',
    'add-info-from-wmssetExtent': 'Set extent',
    'add-info-from-wmssetAndReplaceExtent': 'Replace existing extent',
    'add-info-from-wmssetCRS': 'Set coordinate reference system',
    'add-info-from-wmssetDynamicGraphicOverview': 'Set graphic overview (using GetMap request URL)',
    'add-info-from-wmswmsServiceUrl': 'Service URL',
    'linked-data-checkerlinkUrl': 'URL to remove',
    'related-metadata-checkeruuidToRemove': 'Identifier to remove',
    'add-service-info-from-wxssetAndReplaceOperations': 'Replace existing operations',
    'add-service-info-from-wxswxsServiceUrl': 'Service URL',
    
    // Admin
    'manageDirectories' : 'Manage directories',
    'directory': 'Directory',
    'thesaurusManager': 'Thesaurus manager',
    'Theme': 'Theme',
    'thesaurusFilePath': 'Thesaurus file (.rdf)',
    'ThesaurusName': 'Thesaurus name',
    'createThesaurusFromURL': 'from URL',
    'createThesaurusFromRepository': 'from thesaurus repository',
    'creationMode': 'Create',
    'thesaurusFromRepository': 'Thesaurus',
    'externalThesaurusURL': 'URL',
    'thesaurusCreation': 'Add a thesaurus',
    'Type': 'Type',
    'Activated': 'Activated',
    'emptyThesaurus': 'New empty thesaurus',
    'thesaurusFromFile': 'From local file',
    'thesaurusFromURL': 'From remote file (URL)',
    'id': 'Identifier',
    'label': 'Label',
    'definition': '-',
    'xmin': 'X min',
    'ymin': 'Y min',
    'xmax': 'X max',
    'ymax': 'Y max',
    'newLabel': 'Label',
    'newDefinition': 'Definition',
    'selDirectoryTT': 'Select a type of directory. A directory group all elements having the same root element name (eg. gmd:CI_ResponsibleParty is a contact directory)',
    'privTplElTT': 'Manage privileges for the current selection.',
    'addTplElTT': 'Add an element from an XML fragment to a directory. The destination directory is based on the root element name (eg. gmd:CI_ResponsibleParty).',
    'copyTplElTT': 'Create a new entry in the directory from the current selection.',
    'delTplElTT': 'Remove selected entry from the directory.'
};

OpenLayers.Util.extend(OpenLayers.Lang.en, GeoNetwork.lang.en);
